package com.xzx.shop_front_api.service;

import com.xzx.shop_front_api.entity.Coupon;
import com.xzx.shop_front_api.entity.MemberCoupon;

import java.util.List;

public interface CouponService {
    //新增优惠券
    public int insertCoupon(Coupon coupon);
    //优惠券列表
    List<Coupon> couponList(int currentTime, int status);
    //根据id查询优惠券
    Coupon getCouponById(Integer couponId);
    //更新优惠券领取状态
    int updateCouponInfo(int couponId, int i, int currentTime, Long orderId);
}
